;(function(window) {

  var svgSprite = '<svg>' +
    '' +
    '<symbol id="icon-fanhui" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M629.376 160 330.624 467.968 330.624 467.968 288 512 330.624 555.968 330.688 555.968 629.376 863.936 672 819.968 373.312 512 672 204.032Z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-iconcha" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M876.286262 159.357428 841.589019 124.855636 511.346619 456.965569 191.435519 135.24424 156.736229 169.745009 476.844827 491.664859 146.460188 823.920102 181.155385 858.419847 511.344572 526.365172 822.821583 839.60227 857.521896 805.098431 545.849434 491.662813Z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-sousuo" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M945.600419 910.363893 813.748439 681.985486c81.002872-52.735062 134.568858-144.072303 134.568858-247.932766 0-163.28283-132.369773-295.646464-295.65465-295.646464S357.006973 270.76989 357.006973 434.05272s132.369773 295.64851 295.65465 295.64851c42.524512 0 82.943061-8.994861 119.482255-25.157983l132.4895 229.468229c6.531763 11.313673 20.996197 15.187911 32.307823 8.656147C948.255899 936.136883 952.132182 921.671427 945.600419 910.363893zM652.661623 682.399925c-137.15987 0-248.349251-111.189382-248.349251-248.347205s111.189382-248.345158 248.349251-248.345158S901.012921 296.894897 901.012921 434.05272 789.821493 682.399925 652.661623 682.399925z"  ></path>' +
    '' +
    '<path d="M87.041402 209.361285l256.842693 0c7.655354 0 13.861706-6.204305 13.861706-13.861706l0-19.584034c0-7.6574-6.206352-13.861706-13.861706-13.861706L87.041402 162.053839c-7.655354 0-13.861706 6.204305-13.861706 13.861706l0 19.584034C73.179696 203.15698 79.386048 209.361285 87.041402 209.361285z"  ></path>' +
    '' +
    '<path d="M343.888188 528.661472 87.037309 528.661472c-7.653307 0-13.857613 6.204305-13.857613 13.861706l0 19.584034c0 7.65126 6.204305 13.855566 13.857613 13.855566l256.850879 0c7.653307 0 13.857613-6.204305 13.857613-13.855566l0-19.584034C357.7458 534.865777 351.541495 528.661472 343.888188 528.661472z"  ></path>' +
    '' +
    '<path d="M343.888188 871.612311 87.037309 871.612311c-7.653307 0-13.857613 6.204305-13.857613 13.861706l0 19.584034c0 7.655354 6.204305 13.861706 13.857613 13.861706l256.850879 0c7.653307 0 13.857613-6.206352 13.857613-13.861706l0-19.584034C357.7458 877.816616 351.541495 871.612311 343.888188 871.612311z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-iconfontsousuo" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M932.313811 920.650167 712.974267 701.310623c70.364581-67.363224 114.185622-162.229848 114.185622-267.332604 0-204.370621-165.674297-370.044918-370.044918-370.044918-204.372667 0-370.044918 165.674297-370.044918 370.044918s165.671227 370.044918 370.044918 370.044918c82.851986 0 159.343101-27.231201 221.015719-73.227792l222.018559 222.020606c8.882298 8.879228 23.281239 8.879228 32.16456 0C941.195086 943.931407 941.195086 929.532465 932.313811 920.650167zM132.128273 432.683537c0-179.779549 145.742339-325.516772 325.516772-325.516772 179.779549 0 325.523935 145.737222 325.523935 325.516772 0 179.781596-145.744385 325.518818-325.523935 325.518818C277.870612 758.202355 132.128273 612.465133 132.128273 432.683537z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-appxiazai" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M934.4 139.776l-173.568 0 0 99.328L860.16 239.104c27.648 0 49.664 22.016 49.664 49.664L909.824 834.56c0 27.648-22.016 49.664-49.664 49.664L164.864 884.224c-27.648 0-49.664-22.016-49.664-49.664L115.2 288.256c0-27.648 22.016-49.664 49.664-49.664l99.328 0 0-99.328L90.624 139.264c-40.96 0-74.752 33.28-74.752 74.752L15.872 909.312c0 40.96 33.28 74.752 74.752 74.752l843.776 0c40.96 0 74.752-33.28 74.752-74.752L1009.152 214.016C1009.152 173.056 975.872 139.776 934.4 139.776L934.4 139.776zM809.472 464.384 738.816 394.24l-172.544 172.544 0-482.304c0-20.48-16.896-37.376-37.376-37.376l-24.576 0c-20.48 0-37.376 16.896-37.376 37.376l0 461.312L316.416 394.752 244.224 467.456 518.656 742.4l0 0"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '</svg>'
  var script = function() {
    var scripts = document.getElementsByTagName('script')
    return scripts[scripts.length - 1]
  }()
  var shouldInjectCss = script.getAttribute("data-injectcss")

  /**
   * document ready
   */
  var ready = function(fn) {
    if (document.addEventListener) {
      if (~["complete", "loaded", "interactive"].indexOf(document.readyState)) {
        setTimeout(fn, 0)
      } else {
        var loadFn = function() {
          document.removeEventListener("DOMContentLoaded", loadFn, false)
          fn()
        }
        document.addEventListener("DOMContentLoaded", loadFn, false)
      }
    } else if (document.attachEvent) {
      IEContentLoaded(window, fn)
    }

    function IEContentLoaded(w, fn) {
      var d = w.document,
        done = false,
        // only fire once
        init = function() {
          if (!done) {
            done = true
            fn()
          }
        }
        // polling for no errors
      var polling = function() {
        try {
          // throws errors until after ondocumentready
          d.documentElement.doScroll('left')
        } catch (e) {
          setTimeout(polling, 50)
          return
        }
        // no errors, fire

        init()
      };

      polling()
        // trying to always fire before onload
      d.onreadystatechange = function() {
        if (d.readyState == 'complete') {
          d.onreadystatechange = null
          init()
        }
      }
    }
  }

  /**
   * Insert el before target
   *
   * @param {Element} el
   * @param {Element} target
   */

  var before = function(el, target) {
    target.parentNode.insertBefore(el, target)
  }

  /**
   * Prepend el to target
   *
   * @param {Element} el
   * @param {Element} target
   */

  var prepend = function(el, target) {
    if (target.firstChild) {
      before(el, target.firstChild)
    } else {
      target.appendChild(el)
    }
  }

  function appendSvg() {
    var div, svg

    div = document.createElement('div')
    div.innerHTML = svgSprite
    svgSprite = null
    svg = div.getElementsByTagName('svg')[0]
    if (svg) {
      svg.setAttribute('aria-hidden', 'true')
      svg.style.position = 'absolute'
      svg.style.width = 0
      svg.style.height = 0
      svg.style.overflow = 'hidden'
      prepend(svg, document.body)
    }
  }

  if (shouldInjectCss && !window.__iconfont__svg__cssinject__) {
    window.__iconfont__svg__cssinject__ = true
    try {
      document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>");
    } catch (e) {
      console && console.log(e)
    }
  }

  ready(appendSvg)


})(window)